/*
 *    Copyright (c) 2018-2025, daoism All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: daoism
 */

package com.mkh.st.admin.api.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 图片配置表
 *
 * @author daoism code generator
 * @date 2021-07-29 09:49:59
 */
@Data
@TableName("sys_image_config")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "图片配置表")
public class SysImageConfig extends Model<SysImageConfig> {
private static final long serialVersionUID = 1L;

    /**
     * 图片配置表主键
     */
    @TableId
    @ApiModelProperty(value="图片配置表主键")
    private Long id;
    /**
     * 商品图片上传数量限制
     */
    @ApiModelProperty(value="商品图片上传数量限制")
    private Integer maxCount;
    /**
     * 图片大小限制
     */
    @ApiModelProperty(value="图片大小限制")
    private Integer maxSize;
    /**
     * 图片上传允许格式
     */
    @ApiModelProperty(value="图片上传允许格式")
    private String imageFormat;
    /**
     * 上传图片水印
     */
    @ApiModelProperty(value="上传图片水印")
    private String watermarkImage;

    @ApiModelProperty(value="缩略图宽")
    private Integer smallWide;

    @ApiModelProperty(value="缩略图高")
    private Integer smallHigh;

    @ApiModelProperty(value="中图宽")
    private Integer middleWide;

    @ApiModelProperty(value="中图高")
    private Integer middleHigh;

    /**
     * 详情图片宽
     */
    @ApiModelProperty(value="大图片宽")
    private Integer bigWide;
    /**
     * 详情图片高
     */
    @ApiModelProperty(value="大图片高")
    private Integer bigHigh;
    /**
     * 租户id
     */
    @ApiModelProperty(value="租户id",hidden=true)
    private Long tenantId;

	@ApiModelProperty(value="透明度")
	private Integer transparency;

	@ApiModelProperty(value="水印位置")
	private String watermarkLocation;
}
